package com.api.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.api.dao.SysConfigMapper;
import com.api.entity.SysConfig;
@Component
public class SysConfigUtil {

	@Autowired
	private  SysConfigMapper sysConfigMapper;
	
	public SysConfig getSysConfig(String name) {
		return sysConfigMapper.selectByName(name);
	}

}
